package com.braveman.im.ui.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;
import android.widget.CheckBox;
import android.widget.CompoundButton;

import com.braveman.im.R;
import com.braveman.im.bean.ComplainBean;
import com.braveman.im.bean.DataListBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;


import java.util.List;

/**
 * Created by 昊昊 on 2017/10/12.
 */

/**
 * 群投诉适配
 */
public class ComplainAdapter extends BaseQuickAdapter<ComplainBean, BaseViewHolder> {
    private CheckBox checkBox;
    public static int temp = -1;

    public ComplainAdapter(@LayoutRes int layoutResId, @Nullable List<ComplainBean> data) {
        super(R.layout.item_complain, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, ComplainBean item) {
        helper.setText(R.id.item_complain_txt, item.name);
    }

}
